package com.jiangxiaofei.citycloud.bean;

import java.util.List;

/**
 * 作者: JiangXfei
 * 日期: 2017/9/20 0020
 */

public class BaiduPlaceBean {

    /**
     * status : 0
     * message : ok
     * results : [{"name":"四方","location":{"lat":36.115112,"lng":120.357539},"address":"1路;5路;7路;15路;16路;21路;24路;32路环线;206路环线;210路;227路;305路;319路环线;322路;325路;371路;371路区间;373路;378路环形;624路;765路;765路空调","detail":0,"uid":"5b02391373d06f62c9291593"},{"name":"四方大酒店","location":{"lat":36.105997,"lng":120.36028},"address":"青岛温州路1号","street_id":"a92ac082261a0b66843304b0","telephone":"(0532)83717888","detail":1,"uid":"a92ac082261a0b66843304b0"},{"name":"青岛四方小学","location":{"lat":36.119591,"lng":120.36026},"address":"遵化路33号","street_id":"48d1bc714d21d3b3ca291580","detail":1,"uid":"48d1bc714d21d3b3ca291580"},{"name":"四方行政服务大厅","location":{"lat":36.109566,"lng":120.373267},"address":"市北区鞍山二路48号","street_id":"a82ad07cc7fd7f0e100daa5b","detail":1,"uid":"a82ad07cc7fd7f0e100daa5b"},{"name":"四方剧院","location":{"lat":36.113933,"lng":120.364342},"address":"山东省青岛市市北区人民二路6号甲3号","street_id":"a3f21eeee38b48452fb17ed7","telephone":"0532-83743404","detail":1,"uid":"a3f21eeee38b48452fb17ed7"},{"name":"四方啤酒街","location":{"lat":36.140348,"lng":120.417104},"address":"山东省青岛市市北区台柳路与新郑州路交叉口","street_id":"ab725b137886ed3e028972cb","telephone":"13963956989","detail":1,"uid":"ab725b137886ed3e028972cb"},{"name":"四方安达诊所","location":{"lat":36.109099,"lng":120.38211},"address":"安达路11","street_id":"2372e9f931eb0b69c4f0251b","detail":1,"uid":"2372e9f931eb0b69c4f0251b"},{"name":"四方机车车辆高级技工学校(吉水路)","location":{"lat":36.119468,"lng":120.371866},"address":"山东省青岛市市北区瑞昌路103号","street_id":"59092c21f6c6478826d2bb69","detail":1,"uid":"6778010479688ef358f6bef3"},{"name":"青岛四方金华诊所","location":{"lat":36.117095,"lng":120.347452},"address":"兴隆路街道海岸路22号","street_id":"b5124588097c4d8b9f09f773","detail":1,"uid":"b5124588097c4d8b9f09f773"},{"name":"四方机车车辆高级技工学校胶州校区","location":{"lat":36.301591,"lng":119.992623},"address":"胶州西路271号","detail":1,"uid":"88f24753e671096b0ab93a58"}]
     */

    private int status;
    private String message;
    private List<ResultsBean> results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * name : 四方
         * location : {"lat":36.115112,"lng":120.357539}
         * address : 1路;5路;7路;15路;16路;21路;24路;32路环线;206路环线;210路;227路;305路;319路环线;322路;325路;371路;371路区间;373路;378路环形;624路;765路;765路空调
         * detail : 0
         * uid : 5b02391373d06f62c9291593
         * street_id : a92ac082261a0b66843304b0
         * telephone : (0532)83717888
         */

        private String name;
        private LocationBean location;
        private String address;
        private int detail;
        private String uid;
        private String street_id;
        private String telephone;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getDetail() {
            return detail;
        }

        public void setDetail(int detail) {
            this.detail = detail;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getStreet_id() {
            return street_id;
        }

        public void setStreet_id(String street_id) {
            this.street_id = street_id;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public static class LocationBean {
            /**
             * lat : 36.115112
             * lng : 120.357539
             */

            private double lat;
            private double lng;

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }
}
